home *** CD-ROM | disk | FTP | other *** search
/ Enter 2005 January / EnterCD 0105.iso / Internet / Norton Internet Security 2005 / NIS_Retail.EXE / Setup / PControl / APP / pcwiz.dll / HTML / WIZ-DONE.JS < prev    next >
Encoding:
JavaScript  |  2004-08-31  |  1.3 KB  |  55 lines

  1. ////////////////////////////////////////////////////////////////////////////////////////////
  2. //
  3. // PRODUCT: Norton Internet Security/Symantec Desktop Firewall
  4. //
  5. // NAME:    wiz-Done.js (Javascript file for wiz-Done.HTM)
  6. //
  7. // Copyright (c) 2001 by Symantec Corporation. All rights reserved.
  8. //
  9. ////////////////////////////////////////////////////////////////////////////////////////////
  10.  
  11.  
  12. function Page_GoNext()
  13. {
  14.     return true;
  15. }
  16.  
  17. function Page_GoBack()
  18. {
  19.     return true;
  20. }
  21.  
  22. function OnLoad()
  23. {
  24.     window.NISTitleName1.innerText = WrapNisum.ProductName;
  25.     
  26.     // Modify Parental/Productivity Text HERE..
  27.     var sProductType = WrapNisum.ProductType 
  28.     
  29.     if(sProductType == "PT_PRO")
  30.     {
  31.         window.ParentalProductivityTitle1.innerText = StrID("ParentalControl_Title_NISPRO");
  32.         window.ParentalProductivityTitle2.innerText = StrID("ParentalControl_Title_NISPRO");
  33.     }
  34.     
  35.     // Enable back button
  36.     window.parent.frames("bottom").BackB.disabled = false
  37.  
  38.     // Give focus to Finish button.
  39.     window.parent.frames("bottom").FinishB.focus();
  40. }
  41.  
  42. function OnKeyDownHandler()
  43. {
  44.     // Last Control Tab over to the <back, next, close> button.
  45.     var VK_ESCAPE = 27;
  46.  
  47.     if (window.event.keyCode == VK_ESCAPE)
  48.     {
  49.         // Escape key.. We want to exit out of the wizard..
  50.         parent.window.navigate("res://closeme.xyz");
  51.  
  52.     }
  53.     
  54. }
  55.